package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsRole;

import java.util.List;
import java.util.Set;

/**
 * @author ZhangYuJie
 * projectName:shop_manage
 * time:2022/5/16 16:57
 * description:
 */
public interface DtsRoleService {
    Set<String> findRoleByIds(Integer[] roleIds);

    Set<String> queryByIds(Integer[] roleIds);

    IPage<DtsRole> querySelective(String name, Integer page, Integer limit, String sort, String order);

    List<DtsRole> queryAll();

    DtsRole findById(Integer id);

    boolean checkExist(String name);

    void add(DtsRole role);

    void updateById(DtsRole role);

    void deleteById(Integer id);
}
